﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.Person
{
    /// <summary>
    /// 工人通知编辑表单
    /// </summary>
    public class WorkerNotifyEditForm
    {
        /// <summary>
        /// 系统通知Id 
        ///</summary>
        [Display(Name = "系统通知Id")]
        public string? Id { get; set; }
        /// <summary>
        /// 标题 
        ///</summary>
        [Display(Name = "标题")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string? Title { get; set; }
        /// <summary>
        /// 发布内容 
        ///</summary>
        [Display(Name = "发布内容")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string? Content { get; set; }
        /// <summary>
        /// 附件临时Ids
        ///</summary>
        [Display(Name = "附件Ids")]
        public List<string>? AttachmentIds { get; set; }
    }
}
